package com.redis.service;

import com.redis.RedisConfigProxy.RedisSubscribe;
import org.springframework.stereotype.Service;
import org.springframework.data.redis.connection.Message;
/**
 * @description: TODO
 * @date 2021/10/15 11:05
 */
@Service
public class ServiceImpl {


    @RedisSubscribe("TIME_KEY")
    public void topicSubscribe(Message message,byte [] bytes){

        System.out.println( new String(bytes));

    }





}
